home *** CD-ROM | disk | FTP | other *** search
/ Champak 52 / Volume 52 - JOGO DISK .iso / Games / retroland.swf / scripts / DefineSprite_112 / frame_1 / PlaceObject2_100_1 / CLIPACTIONRECORD onClipEvent(enterFrame).as
Text File  |  2007-10-01  |  298b  |  13 lines

  1. onClipEvent(enterFrame){
  2.    if(_root.hero.hitTest(this))
  3.    {
  4.       _root.heroOVER._x = _root.hero._x;
  5.       _root.heroOVER._y = _root.hero._y;
  6.       _root.heroOVER.gotoAndPlay(2);
  7.       _level0.keys = 1;
  8.       _root.hero._y = -300;
  9.       _level0.lives -= 1;
  10.       box1 = down1;
  11.    }
  12. }
  13.